home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bathints.zip
/
BH_06.DOC
< prev
next >
Wrap
Text File
|
1988-10-20
|
2KB
|
43 lines
BAT-HINT # 6
**************************************************************************
from the BATHINTS library... part of the BATPOWER CONFERENCE from:
THE PAINFRAME OPUS/FIDO 261/1004
Baltimore, Maryland 1-301-488-7461
**************************************************************************
Command.com Revisited
So now that you have a firm command of command.com (from BATHINT #1)...
here is a tidbit for those fastidious souls who appreciate the cleanliness
of the root directory. Very few files need be present in the root
directory of your hard disk or floppy boot disk. Indeed, the only files
there should be config.sys and autoexec.bat (if you choose to even have
an autoexec.bat (some people don't ya know!). So how does one place
command.com in the directory it was intended to be placed (i.e. the DOS
subdirectory)? Enter the following line in the config.sys file:
shell=c:\dos\command.com c:\dos
The config line shown above assumes that you have a hard disk and that
command.com resides in a subdirectory called DOS. You could of course
place it anywhere you like, so long as you include the path and follow
the statement with the path again. For example, if you booted from a
floppy and had placed command.com in a:\util\msdos, you would include the
following line in the config.sys file:
shell=a:\util\msdos\command.com a:\util\msdos
Naturally, you may place any of the parameters mentioned in BATHINT #
after this statement. For example, if you booted from a hard disk and
your only copy of command.com was in the subdirectory MSDOS and you
wanted to expand your environment space to 2500 bytes, you would change
the line to read:
shell=c:\msdos\command.com c:\msdos /e:2500
One should strive to obtain the most uncluttered root directory possible
and this should help...
********************************************************** David Creasey